package org.example.dbcompare.service.data;

import cn.hutool.db.ds.simple.SimpleDataSource;
import org.example.dbcompare.model.config.DataCompareItem;
import org.example.dbcompare.model.result.CompareDataItem;

/**
 * @author wuyong
 * @date 2025/10/31
 */
public abstract class CompareBase {
    public SimpleDataSource sourceDataSource;
    public SimpleDataSource targetDataSource;
    public CompareBase (SimpleDataSource sourceDataSource, SimpleDataSource targetDataSource){
        this.sourceDataSource = sourceDataSource;
        this.targetDataSource = targetDataSource;
    }
    public abstract void compare(DataCompareItem cfgItem, CompareDataItem item);
}
